const express = require('express');
const router = express.Router();
const artcateHandle = require('../router_handle/artcate_handle.js');

router.get('/cates', artcateHandle.getArticleCates);
router.post('/addcates', artcateHandle.addArticleCates);
router.get('/deletecate/:id', artcateHandle.deleteArticleCateById);
router.get('/cates/:id', artcateHandle.getArticleCateById);
router.post('/updatecate', artcateHandle.updateArticleCateById);

module.exports = {
	router
}